import { ThemeCategory } from "@/api/service/theme/types";
import { ENUM_DATA_SCOPE } from "@/enum/system.enum";

export const queryObj = {
  categoryName: "",
  scope: ENUM_DATA_SCOPE.THIS_SHOP
};
export const table = useTable<ThemeCategory>({
  rowKey: "categoryId"
});
// 查询参数
export const query = useQuery({
  ...queryObj,
  orderByColumn: "create_time",
  isAsc: "desc"
});

// 已选中的元素数组
export const keys = ref<string[]>([]);
